Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asan: properly run asan test #194

Merged
merged 1 commit into from
Jan 24, 2024
Merged

asan: properly run asan test #194

merged 1 commit into from
Jan 24, 2024

Conversation

Hyxogen
Copy link
Contributor

@Hyxogen Hyxogen commented Jan 24, 2024

The test was meant to crash by heap-buffer-overflow. However, the test only checked if the program crashed, not what caused it. Because there are no program arguments (yet) it would always crash through nullptr deref, making the test falsely pass.

The test was meant to crash by heap-buffer-overflow. However, the test
only checked if the program crashed, not what caused it. Because there
are no program arguments (yet) it would always crash through nullptr
deref, making the test falsely pass.
@Hyxogen Hyxogen requested a review from yuri91 January 24, 2024 11:23
@Hyxogen
Copy link
Contributor Author

Hyxogen commented Jan 24, 2024

I only changed the commit message in the last few force pushes, so the latest pass on the CI is representative of the changes

@yuri91 yuri91 merged commit 45ddc52 into master Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants